<template>
  <div class="topTitle">
    <span v-text="title"></span>
  </div>
</template>

<script>
export default{
  props: ["title"]
}
</script>


<style scoped>
  .topTitle{
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 46px;
    line-height: 46px;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
    background: #1890FF;
    left: 0;
  }
</style>